# use third libs
set(msgpack_SOURCE_DIR ${THIRD_LIB}/msgpack)

macro(use_msgpack ag_project_name)
  target_compile_definitions(${ag_project_name} PRIVATE USE_LIB_MSGPACK)
  # include msgpack_SOURCE_DIR ==> third/msgpack
  target_include_directories(${ag_project_name} PRIVATE ${msgpack_SOURCE_DIR}/include)
endmacro(use_msgpack)